﻿using bbtpClient.Entities;
using bbtpClient.WebServices;
using System.CodeDom.Compiler;
using System.Diagnostics;

namespace bbtpClient.Controllers
{
    [DebuggerStepThrough]
    [GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public static class GoodController
    {
        private static readonly GoodControllerClient Instance = new GoodControllerClient("GoodControllerImplPort", Program.Host + "goodController");

        public static Good GetGood(long goodId)
        {
            return Instance.getGood(UserInfo.SessionId, goodId);
        }

        public static GoodHead[] GetAllGoods()
        {
            return Instance.getAllGoods(UserInfo.SessionId);
        }
    }
}
